from flask_wtf import FlaskForm
from wtforms import StringField, BooleanField , PasswordField , SubmitField
from wtforms.validators import DataRequired

class LoginForm(FlaskForm):
    username = StringField("username", validators=[DataRequired()])
    Password = PasswordField("password",validators=[DataRequired()])
    remember_me = BooleanField("remember me")
    Submit = SubmitField('Sign in')